const chalk = require('chalk')
const exec = require('exec-sh').promise
// const mock = require('../mock')

async function dev() {
  console.log(chalk.bold.green('正在启动服务...'))
  exec('react-native start --reset-cache --port 8084')
}

async function execDev() {
  dev()
  // mock()
}

execDev()
